package com.srxz.mobilepharmacy.util.httpclient.base;

import com.srxz.mobilepharmacy.util.httpclient.HttpClientResult;

import java.util.Map;

public interface SendMessage {

    public HttpClientResult doGet(String url) throws Exception;

    public HttpClientResult doGet(String url, Map<String, String> params) throws Exception;

    public HttpClientResult doGet(String url, Map<String, String> headers, Map<String, String> params) throws Exception;

    public HttpClientResult doPost(String url) throws Exception;

    public HttpClientResult doPost(String url, Map<String, String> params) throws Exception;

    public HttpClientResult doPost(String url, Map<String, String> headers, Map<String, String> params) throws Exception;

    public HttpClientResult doPut(String url) throws Exception;

    public HttpClientResult doPut(String url, Map<String, String> params) throws Exception;

    public HttpClientResult doDelete(String url) throws Exception;

    public HttpClientResult doDelete(String url, Map<String, String> params) throws Exception;

}
